package com.rc.evcharger.model.market;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MarketActivityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MarketActivityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMarketActivityIdIsNull() {
            addCriterion("market_activity_id is null");
            return (Criteria) this;
        }

        public Criteria andMarketActivityIdIsNotNull() {
            addCriterion("market_activity_id is not null");
            return (Criteria) this;
        }

        public Criteria andMarketActivityIdEqualTo(Long value) {
            addCriterion("market_activity_id =", value, "marketActivityId");
            return (Criteria) this;
        }

        public Criteria andMarketActivityIdNotEqualTo(Long value) {
            addCriterion("market_activity_id <>", value, "marketActivityId");
            return (Criteria) this;
        }

        public Criteria andMarketActivityIdGreaterThan(Long value) {
            addCriterion("market_activity_id >", value, "marketActivityId");
            return (Criteria) this;
        }

        public Criteria andMarketActivityIdGreaterThanOrEqualTo(Long value) {
            addCriterion("market_activity_id >=", value, "marketActivityId");
            return (Criteria) this;
        }

        public Criteria andMarketActivityIdLessThan(Long value) {
            addCriterion("market_activity_id <", value, "marketActivityId");
            return (Criteria) this;
        }

        public Criteria andMarketActivityIdLessThanOrEqualTo(Long value) {
            addCriterion("market_activity_id <=", value, "marketActivityId");
            return (Criteria) this;
        }

        public Criteria andMarketActivityIdIn(List<Long> values) {
            addCriterion("market_activity_id in", values, "marketActivityId");
            return (Criteria) this;
        }

        public Criteria andMarketActivityIdNotIn(List<Long> values) {
            addCriterion("market_activity_id not in", values, "marketActivityId");
            return (Criteria) this;
        }

        public Criteria andMarketActivityIdBetween(Long value1, Long value2) {
            addCriterion("market_activity_id between", value1, value2, "marketActivityId");
            return (Criteria) this;
        }

        public Criteria andMarketActivityIdNotBetween(Long value1, Long value2) {
            addCriterion("market_activity_id not between", value1, value2, "marketActivityId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andActivityTypeIsNull() {
            addCriterion("activity_type is null");
            return (Criteria) this;
        }

        public Criteria andActivityTypeIsNotNull() {
            addCriterion("activity_type is not null");
            return (Criteria) this;
        }

        public Criteria andActivityTypeEqualTo(String value) {
            addCriterion("activity_type =", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeNotEqualTo(String value) {
            addCriterion("activity_type <>", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeGreaterThan(String value) {
            addCriterion("activity_type >", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeGreaterThanOrEqualTo(String value) {
            addCriterion("activity_type >=", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeLessThan(String value) {
            addCriterion("activity_type <", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeLessThanOrEqualTo(String value) {
            addCriterion("activity_type <=", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeLike(String value) {
            addCriterion("activity_type like", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeNotLike(String value) {
            addCriterion("activity_type not like", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeIn(List<String> values) {
            addCriterion("activity_type in", values, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeNotIn(List<String> values) {
            addCriterion("activity_type not in", values, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeBetween(String value1, String value2) {
            addCriterion("activity_type between", value1, value2, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeNotBetween(String value1, String value2) {
            addCriterion("activity_type not between", value1, value2, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityNameIsNull() {
            addCriterion("activity_name is null");
            return (Criteria) this;
        }

        public Criteria andActivityNameIsNotNull() {
            addCriterion("activity_name is not null");
            return (Criteria) this;
        }

        public Criteria andActivityNameEqualTo(String value) {
            addCriterion("activity_name =", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameNotEqualTo(String value) {
            addCriterion("activity_name <>", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameGreaterThan(String value) {
            addCriterion("activity_name >", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameGreaterThanOrEqualTo(String value) {
            addCriterion("activity_name >=", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameLessThan(String value) {
            addCriterion("activity_name <", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameLessThanOrEqualTo(String value) {
            addCriterion("activity_name <=", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameLike(String value) {
            addCriterion("activity_name like", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameNotLike(String value) {
            addCriterion("activity_name not like", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameIn(List<String> values) {
            addCriterion("activity_name in", values, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameNotIn(List<String> values) {
            addCriterion("activity_name not in", values, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameBetween(String value1, String value2) {
            addCriterion("activity_name between", value1, value2, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameNotBetween(String value1, String value2) {
            addCriterion("activity_name not between", value1, value2, "activityName");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdIsNull() {
            addCriterion("ticket_type_id is null");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdIsNotNull() {
            addCriterion("ticket_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdEqualTo(Long value) {
            addCriterion("ticket_type_id =", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdNotEqualTo(Long value) {
            addCriterion("ticket_type_id <>", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdGreaterThan(Long value) {
            addCriterion("ticket_type_id >", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ticket_type_id >=", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdLessThan(Long value) {
            addCriterion("ticket_type_id <", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdLessThanOrEqualTo(Long value) {
            addCriterion("ticket_type_id <=", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdIn(List<Long> values) {
            addCriterion("ticket_type_id in", values, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdNotIn(List<Long> values) {
            addCriterion("ticket_type_id not in", values, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdBetween(Long value1, Long value2) {
            addCriterion("ticket_type_id between", value1, value2, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdNotBetween(Long value1, Long value2) {
            addCriterion("ticket_type_id not between", value1, value2, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andSendCountIsNull() {
            addCriterion("send_count is null");
            return (Criteria) this;
        }

        public Criteria andSendCountIsNotNull() {
            addCriterion("send_count is not null");
            return (Criteria) this;
        }

        public Criteria andSendCountEqualTo(Integer value) {
            addCriterion("send_count =", value, "sendCount");
            return (Criteria) this;
        }

        public Criteria andSendCountNotEqualTo(Integer value) {
            addCriterion("send_count <>", value, "sendCount");
            return (Criteria) this;
        }

        public Criteria andSendCountGreaterThan(Integer value) {
            addCriterion("send_count >", value, "sendCount");
            return (Criteria) this;
        }

        public Criteria andSendCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("send_count >=", value, "sendCount");
            return (Criteria) this;
        }

        public Criteria andSendCountLessThan(Integer value) {
            addCriterion("send_count <", value, "sendCount");
            return (Criteria) this;
        }

        public Criteria andSendCountLessThanOrEqualTo(Integer value) {
            addCriterion("send_count <=", value, "sendCount");
            return (Criteria) this;
        }

        public Criteria andSendCountIn(List<Integer> values) {
            addCriterion("send_count in", values, "sendCount");
            return (Criteria) this;
        }

        public Criteria andSendCountNotIn(List<Integer> values) {
            addCriterion("send_count not in", values, "sendCount");
            return (Criteria) this;
        }

        public Criteria andSendCountBetween(Integer value1, Integer value2) {
            addCriterion("send_count between", value1, value2, "sendCount");
            return (Criteria) this;
        }

        public Criteria andSendCountNotBetween(Integer value1, Integer value2) {
            addCriterion("send_count not between", value1, value2, "sendCount");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIsNull() {
            addCriterion("begin_time is null");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIsNotNull() {
            addCriterion("begin_time is not null");
            return (Criteria) this;
        }

        public Criteria andBeginTimeEqualTo(Date value) {
            addCriterion("begin_time =", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotEqualTo(Date value) {
            addCriterion("begin_time <>", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeGreaterThan(Date value) {
            addCriterion("begin_time >", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("begin_time >=", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeLessThan(Date value) {
            addCriterion("begin_time <", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeLessThanOrEqualTo(Date value) {
            addCriterion("begin_time <=", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIn(List<Date> values) {
            addCriterion("begin_time in", values, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotIn(List<Date> values) {
            addCriterion("begin_time not in", values, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeBetween(Date value1, Date value2) {
            addCriterion("begin_time between", value1, value2, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotBetween(Date value1, Date value2) {
            addCriterion("begin_time not between", value1, value2, "beginTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andSendTypeIsNull() {
            addCriterion("send_type is null");
            return (Criteria) this;
        }

        public Criteria andSendTypeIsNotNull() {
            addCriterion("send_type is not null");
            return (Criteria) this;
        }

        public Criteria andSendTypeEqualTo(String value) {
            addCriterion("send_type =", value, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeNotEqualTo(String value) {
            addCriterion("send_type <>", value, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeGreaterThan(String value) {
            addCriterion("send_type >", value, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeGreaterThanOrEqualTo(String value) {
            addCriterion("send_type >=", value, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeLessThan(String value) {
            addCriterion("send_type <", value, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeLessThanOrEqualTo(String value) {
            addCriterion("send_type <=", value, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeLike(String value) {
            addCriterion("send_type like", value, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeNotLike(String value) {
            addCriterion("send_type not like", value, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeIn(List<String> values) {
            addCriterion("send_type in", values, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeNotIn(List<String> values) {
            addCriterion("send_type not in", values, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeBetween(String value1, String value2) {
            addCriterion("send_type between", value1, value2, "sendType");
            return (Criteria) this;
        }

        public Criteria andSendTypeNotBetween(String value1, String value2) {
            addCriterion("send_type not between", value1, value2, "sendType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeIsNull() {
            addCriterion("reward_type is null");
            return (Criteria) this;
        }

        public Criteria andRewardTypeIsNotNull() {
            addCriterion("reward_type is not null");
            return (Criteria) this;
        }

        public Criteria andRewardTypeEqualTo(String value) {
            addCriterion("reward_type =", value, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeNotEqualTo(String value) {
            addCriterion("reward_type <>", value, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeGreaterThan(String value) {
            addCriterion("reward_type >", value, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeGreaterThanOrEqualTo(String value) {
            addCriterion("reward_type >=", value, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeLessThan(String value) {
            addCriterion("reward_type <", value, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeLessThanOrEqualTo(String value) {
            addCriterion("reward_type <=", value, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeLike(String value) {
            addCriterion("reward_type like", value, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeNotLike(String value) {
            addCriterion("reward_type not like", value, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeIn(List<String> values) {
            addCriterion("reward_type in", values, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeNotIn(List<String> values) {
            addCriterion("reward_type not in", values, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeBetween(String value1, String value2) {
            addCriterion("reward_type between", value1, value2, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeNotBetween(String value1, String value2) {
            addCriterion("reward_type not between", value1, value2, "rewardType");
            return (Criteria) this;
        }

        public Criteria andMaxDiscountCountIsNull() {
            addCriterion("max_discount_count is null");
            return (Criteria) this;
        }

        public Criteria andMaxDiscountCountIsNotNull() {
            addCriterion("max_discount_count is not null");
            return (Criteria) this;
        }

        public Criteria andMaxDiscountCountEqualTo(Integer value) {
            addCriterion("max_discount_count =", value, "maxDiscountCount");
            return (Criteria) this;
        }

        public Criteria andMaxDiscountCountNotEqualTo(Integer value) {
            addCriterion("max_discount_count <>", value, "maxDiscountCount");
            return (Criteria) this;
        }

        public Criteria andMaxDiscountCountGreaterThan(Integer value) {
            addCriterion("max_discount_count >", value, "maxDiscountCount");
            return (Criteria) this;
        }

        public Criteria andMaxDiscountCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("max_discount_count >=", value, "maxDiscountCount");
            return (Criteria) this;
        }

        public Criteria andMaxDiscountCountLessThan(Integer value) {
            addCriterion("max_discount_count <", value, "maxDiscountCount");
            return (Criteria) this;
        }

        public Criteria andMaxDiscountCountLessThanOrEqualTo(Integer value) {
            addCriterion("max_discount_count <=", value, "maxDiscountCount");
            return (Criteria) this;
        }

        public Criteria andMaxDiscountCountIn(List<Integer> values) {
            addCriterion("max_discount_count in", values, "maxDiscountCount");
            return (Criteria) this;
        }

        public Criteria andMaxDiscountCountNotIn(List<Integer> values) {
            addCriterion("max_discount_count not in", values, "maxDiscountCount");
            return (Criteria) this;
        }

        public Criteria andMaxDiscountCountBetween(Integer value1, Integer value2) {
            addCriterion("max_discount_count between", value1, value2, "maxDiscountCount");
            return (Criteria) this;
        }

        public Criteria andMaxDiscountCountNotBetween(Integer value1, Integer value2) {
            addCriterion("max_discount_count not between", value1, value2, "maxDiscountCount");
            return (Criteria) this;
        }

        public Criteria andMaxActivityCountIsNull() {
            addCriterion("max_activity_count is null");
            return (Criteria) this;
        }

        public Criteria andMaxActivityCountIsNotNull() {
            addCriterion("max_activity_count is not null");
            return (Criteria) this;
        }

        public Criteria andMaxActivityCountEqualTo(Integer value) {
            addCriterion("max_activity_count =", value, "maxActivityCount");
            return (Criteria) this;
        }

        public Criteria andMaxActivityCountNotEqualTo(Integer value) {
            addCriterion("max_activity_count <>", value, "maxActivityCount");
            return (Criteria) this;
        }

        public Criteria andMaxActivityCountGreaterThan(Integer value) {
            addCriterion("max_activity_count >", value, "maxActivityCount");
            return (Criteria) this;
        }

        public Criteria andMaxActivityCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("max_activity_count >=", value, "maxActivityCount");
            return (Criteria) this;
        }

        public Criteria andMaxActivityCountLessThan(Integer value) {
            addCriterion("max_activity_count <", value, "maxActivityCount");
            return (Criteria) this;
        }

        public Criteria andMaxActivityCountLessThanOrEqualTo(Integer value) {
            addCriterion("max_activity_count <=", value, "maxActivityCount");
            return (Criteria) this;
        }

        public Criteria andMaxActivityCountIn(List<Integer> values) {
            addCriterion("max_activity_count in", values, "maxActivityCount");
            return (Criteria) this;
        }

        public Criteria andMaxActivityCountNotIn(List<Integer> values) {
            addCriterion("max_activity_count not in", values, "maxActivityCount");
            return (Criteria) this;
        }

        public Criteria andMaxActivityCountBetween(Integer value1, Integer value2) {
            addCriterion("max_activity_count between", value1, value2, "maxActivityCount");
            return (Criteria) this;
        }

        public Criteria andMaxActivityCountNotBetween(Integer value1, Integer value2) {
            addCriterion("max_activity_count not between", value1, value2, "maxActivityCount");
            return (Criteria) this;
        }

        public Criteria andRegisterPromptIsNull() {
            addCriterion("register_prompt is null");
            return (Criteria) this;
        }

        public Criteria andRegisterPromptIsNotNull() {
            addCriterion("register_prompt is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterPromptEqualTo(String value) {
            addCriterion("register_prompt =", value, "registerPrompt");
            return (Criteria) this;
        }

        public Criteria andRegisterPromptNotEqualTo(String value) {
            addCriterion("register_prompt <>", value, "registerPrompt");
            return (Criteria) this;
        }

        public Criteria andRegisterPromptGreaterThan(String value) {
            addCriterion("register_prompt >", value, "registerPrompt");
            return (Criteria) this;
        }

        public Criteria andRegisterPromptGreaterThanOrEqualTo(String value) {
            addCriterion("register_prompt >=", value, "registerPrompt");
            return (Criteria) this;
        }

        public Criteria andRegisterPromptLessThan(String value) {
            addCriterion("register_prompt <", value, "registerPrompt");
            return (Criteria) this;
        }

        public Criteria andRegisterPromptLessThanOrEqualTo(String value) {
            addCriterion("register_prompt <=", value, "registerPrompt");
            return (Criteria) this;
        }

        public Criteria andRegisterPromptLike(String value) {
            addCriterion("register_prompt like", value, "registerPrompt");
            return (Criteria) this;
        }

        public Criteria andRegisterPromptNotLike(String value) {
            addCriterion("register_prompt not like", value, "registerPrompt");
            return (Criteria) this;
        }

        public Criteria andRegisterPromptIn(List<String> values) {
            addCriterion("register_prompt in", values, "registerPrompt");
            return (Criteria) this;
        }

        public Criteria andRegisterPromptNotIn(List<String> values) {
            addCriterion("register_prompt not in", values, "registerPrompt");
            return (Criteria) this;
        }

        public Criteria andRegisterPromptBetween(String value1, String value2) {
            addCriterion("register_prompt between", value1, value2, "registerPrompt");
            return (Criteria) this;
        }

        public Criteria andRegisterPromptNotBetween(String value1, String value2) {
            addCriterion("register_prompt not between", value1, value2, "registerPrompt");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andSendPromptIsNull() {
            addCriterion("send_prompt is null");
            return (Criteria) this;
        }

        public Criteria andSendPromptIsNotNull() {
            addCriterion("send_prompt is not null");
            return (Criteria) this;
        }

        public Criteria andSendPromptEqualTo(String value) {
            addCriterion("send_prompt =", value, "sendPrompt");
            return (Criteria) this;
        }

        public Criteria andSendPromptNotEqualTo(String value) {
            addCriterion("send_prompt <>", value, "sendPrompt");
            return (Criteria) this;
        }

        public Criteria andSendPromptGreaterThan(String value) {
            addCriterion("send_prompt >", value, "sendPrompt");
            return (Criteria) this;
        }

        public Criteria andSendPromptGreaterThanOrEqualTo(String value) {
            addCriterion("send_prompt >=", value, "sendPrompt");
            return (Criteria) this;
        }

        public Criteria andSendPromptLessThan(String value) {
            addCriterion("send_prompt <", value, "sendPrompt");
            return (Criteria) this;
        }

        public Criteria andSendPromptLessThanOrEqualTo(String value) {
            addCriterion("send_prompt <=", value, "sendPrompt");
            return (Criteria) this;
        }

        public Criteria andSendPromptLike(String value) {
            addCriterion("send_prompt like", value, "sendPrompt");
            return (Criteria) this;
        }

        public Criteria andSendPromptNotLike(String value) {
            addCriterion("send_prompt not like", value, "sendPrompt");
            return (Criteria) this;
        }

        public Criteria andSendPromptIn(List<String> values) {
            addCriterion("send_prompt in", values, "sendPrompt");
            return (Criteria) this;
        }

        public Criteria andSendPromptNotIn(List<String> values) {
            addCriterion("send_prompt not in", values, "sendPrompt");
            return (Criteria) this;
        }

        public Criteria andSendPromptBetween(String value1, String value2) {
            addCriterion("send_prompt between", value1, value2, "sendPrompt");
            return (Criteria) this;
        }

        public Criteria andSendPromptNotBetween(String value1, String value2) {
            addCriterion("send_prompt not between", value1, value2, "sendPrompt");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andAliPayIsNull() {
            addCriterion("ali_pay is null");
            return (Criteria) this;
        }

        public Criteria andAliPayIsNotNull() {
            addCriterion("ali_pay is not null");
            return (Criteria) this;
        }

        public Criteria andAliPayEqualTo(Integer value) {
            addCriterion("ali_pay =", value, "aliPay");
            return (Criteria) this;
        }

        public Criteria andAliPayNotEqualTo(Integer value) {
            addCriterion("ali_pay <>", value, "aliPay");
            return (Criteria) this;
        }

        public Criteria andAliPayGreaterThan(Integer value) {
            addCriterion("ali_pay >", value, "aliPay");
            return (Criteria) this;
        }

        public Criteria andAliPayGreaterThanOrEqualTo(Integer value) {
            addCriterion("ali_pay >=", value, "aliPay");
            return (Criteria) this;
        }

        public Criteria andAliPayLessThan(Integer value) {
            addCriterion("ali_pay <", value, "aliPay");
            return (Criteria) this;
        }

        public Criteria andAliPayLessThanOrEqualTo(Integer value) {
            addCriterion("ali_pay <=", value, "aliPay");
            return (Criteria) this;
        }

        public Criteria andAliPayIn(List<Integer> values) {
            addCriterion("ali_pay in", values, "aliPay");
            return (Criteria) this;
        }

        public Criteria andAliPayNotIn(List<Integer> values) {
            addCriterion("ali_pay not in", values, "aliPay");
            return (Criteria) this;
        }

        public Criteria andAliPayBetween(Integer value1, Integer value2) {
            addCriterion("ali_pay between", value1, value2, "aliPay");
            return (Criteria) this;
        }

        public Criteria andAliPayNotBetween(Integer value1, Integer value2) {
            addCriterion("ali_pay not between", value1, value2, "aliPay");
            return (Criteria) this;
        }

        public Criteria andWxPayIsNull() {
            addCriterion("wx_pay is null");
            return (Criteria) this;
        }

        public Criteria andWxPayIsNotNull() {
            addCriterion("wx_pay is not null");
            return (Criteria) this;
        }

        public Criteria andWxPayEqualTo(Integer value) {
            addCriterion("wx_pay =", value, "wxPay");
            return (Criteria) this;
        }

        public Criteria andWxPayNotEqualTo(Integer value) {
            addCriterion("wx_pay <>", value, "wxPay");
            return (Criteria) this;
        }

        public Criteria andWxPayGreaterThan(Integer value) {
            addCriterion("wx_pay >", value, "wxPay");
            return (Criteria) this;
        }

        public Criteria andWxPayGreaterThanOrEqualTo(Integer value) {
            addCriterion("wx_pay >=", value, "wxPay");
            return (Criteria) this;
        }

        public Criteria andWxPayLessThan(Integer value) {
            addCriterion("wx_pay <", value, "wxPay");
            return (Criteria) this;
        }

        public Criteria andWxPayLessThanOrEqualTo(Integer value) {
            addCriterion("wx_pay <=", value, "wxPay");
            return (Criteria) this;
        }

        public Criteria andWxPayIn(List<Integer> values) {
            addCriterion("wx_pay in", values, "wxPay");
            return (Criteria) this;
        }

        public Criteria andWxPayNotIn(List<Integer> values) {
            addCriterion("wx_pay not in", values, "wxPay");
            return (Criteria) this;
        }

        public Criteria andWxPayBetween(Integer value1, Integer value2) {
            addCriterion("wx_pay between", value1, value2, "wxPay");
            return (Criteria) this;
        }

        public Criteria andWxPayNotBetween(Integer value1, Integer value2) {
            addCriterion("wx_pay not between", value1, value2, "wxPay");
            return (Criteria) this;
        }

        public Criteria andUnPayIsNull() {
            addCriterion("un_pay is null");
            return (Criteria) this;
        }

        public Criteria andUnPayIsNotNull() {
            addCriterion("un_pay is not null");
            return (Criteria) this;
        }

        public Criteria andUnPayEqualTo(Integer value) {
            addCriterion("un_pay =", value, "unPay");
            return (Criteria) this;
        }

        public Criteria andUnPayNotEqualTo(Integer value) {
            addCriterion("un_pay <>", value, "unPay");
            return (Criteria) this;
        }

        public Criteria andUnPayGreaterThan(Integer value) {
            addCriterion("un_pay >", value, "unPay");
            return (Criteria) this;
        }

        public Criteria andUnPayGreaterThanOrEqualTo(Integer value) {
            addCriterion("un_pay >=", value, "unPay");
            return (Criteria) this;
        }

        public Criteria andUnPayLessThan(Integer value) {
            addCriterion("un_pay <", value, "unPay");
            return (Criteria) this;
        }

        public Criteria andUnPayLessThanOrEqualTo(Integer value) {
            addCriterion("un_pay <=", value, "unPay");
            return (Criteria) this;
        }

        public Criteria andUnPayIn(List<Integer> values) {
            addCriterion("un_pay in", values, "unPay");
            return (Criteria) this;
        }

        public Criteria andUnPayNotIn(List<Integer> values) {
            addCriterion("un_pay not in", values, "unPay");
            return (Criteria) this;
        }

        public Criteria andUnPayBetween(Integer value1, Integer value2) {
            addCriterion("un_pay between", value1, value2, "unPay");
            return (Criteria) this;
        }

        public Criteria andUnPayNotBetween(Integer value1, Integer value2) {
            addCriterion("un_pay not between", value1, value2, "unPay");
            return (Criteria) this;
        }

        public Criteria andAbcPayIsNull() {
            addCriterion("abc_pay is null");
            return (Criteria) this;
        }

        public Criteria andAbcPayIsNotNull() {
            addCriterion("abc_pay is not null");
            return (Criteria) this;
        }

        public Criteria andAbcPayEqualTo(Integer value) {
            addCriterion("abc_pay =", value, "abcPay");
            return (Criteria) this;
        }

        public Criteria andAbcPayNotEqualTo(Integer value) {
            addCriterion("abc_pay <>", value, "abcPay");
            return (Criteria) this;
        }

        public Criteria andAbcPayGreaterThan(Integer value) {
            addCriterion("abc_pay >", value, "abcPay");
            return (Criteria) this;
        }

        public Criteria andAbcPayGreaterThanOrEqualTo(Integer value) {
            addCriterion("abc_pay >=", value, "abcPay");
            return (Criteria) this;
        }

        public Criteria andAbcPayLessThan(Integer value) {
            addCriterion("abc_pay <", value, "abcPay");
            return (Criteria) this;
        }

        public Criteria andAbcPayLessThanOrEqualTo(Integer value) {
            addCriterion("abc_pay <=", value, "abcPay");
            return (Criteria) this;
        }

        public Criteria andAbcPayIn(List<Integer> values) {
            addCriterion("abc_pay in", values, "abcPay");
            return (Criteria) this;
        }

        public Criteria andAbcPayNotIn(List<Integer> values) {
            addCriterion("abc_pay not in", values, "abcPay");
            return (Criteria) this;
        }

        public Criteria andAbcPayBetween(Integer value1, Integer value2) {
            addCriterion("abc_pay between", value1, value2, "abcPay");
            return (Criteria) this;
        }

        public Criteria andAbcPayNotBetween(Integer value1, Integer value2) {
            addCriterion("abc_pay not between", value1, value2, "abcPay");
            return (Criteria) this;
        }

        public Criteria andIsAppIsNull() {
            addCriterion("is_app is null");
            return (Criteria) this;
        }

        public Criteria andIsAppIsNotNull() {
            addCriterion("is_app is not null");
            return (Criteria) this;
        }

        public Criteria andIsAppEqualTo(Integer value) {
            addCriterion("is_app =", value, "isApp");
            return (Criteria) this;
        }

        public Criteria andIsAppNotEqualTo(Integer value) {
            addCriterion("is_app <>", value, "isApp");
            return (Criteria) this;
        }

        public Criteria andIsAppGreaterThan(Integer value) {
            addCriterion("is_app >", value, "isApp");
            return (Criteria) this;
        }

        public Criteria andIsAppGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_app >=", value, "isApp");
            return (Criteria) this;
        }

        public Criteria andIsAppLessThan(Integer value) {
            addCriterion("is_app <", value, "isApp");
            return (Criteria) this;
        }

        public Criteria andIsAppLessThanOrEqualTo(Integer value) {
            addCriterion("is_app <=", value, "isApp");
            return (Criteria) this;
        }

        public Criteria andIsAppIn(List<Integer> values) {
            addCriterion("is_app in", values, "isApp");
            return (Criteria) this;
        }

        public Criteria andIsAppNotIn(List<Integer> values) {
            addCriterion("is_app not in", values, "isApp");
            return (Criteria) this;
        }

        public Criteria andIsAppBetween(Integer value1, Integer value2) {
            addCriterion("is_app between", value1, value2, "isApp");
            return (Criteria) this;
        }

        public Criteria andIsAppNotBetween(Integer value1, Integer value2) {
            addCriterion("is_app not between", value1, value2, "isApp");
            return (Criteria) this;
        }

        public Criteria andIsWxIsNull() {
            addCriterion("is_wx is null");
            return (Criteria) this;
        }

        public Criteria andIsWxIsNotNull() {
            addCriterion("is_wx is not null");
            return (Criteria) this;
        }

        public Criteria andIsWxEqualTo(Integer value) {
            addCriterion("is_wx =", value, "isWx");
            return (Criteria) this;
        }

        public Criteria andIsWxNotEqualTo(Integer value) {
            addCriterion("is_wx <>", value, "isWx");
            return (Criteria) this;
        }

        public Criteria andIsWxGreaterThan(Integer value) {
            addCriterion("is_wx >", value, "isWx");
            return (Criteria) this;
        }

        public Criteria andIsWxGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_wx >=", value, "isWx");
            return (Criteria) this;
        }

        public Criteria andIsWxLessThan(Integer value) {
            addCriterion("is_wx <", value, "isWx");
            return (Criteria) this;
        }

        public Criteria andIsWxLessThanOrEqualTo(Integer value) {
            addCriterion("is_wx <=", value, "isWx");
            return (Criteria) this;
        }

        public Criteria andIsWxIn(List<Integer> values) {
            addCriterion("is_wx in", values, "isWx");
            return (Criteria) this;
        }

        public Criteria andIsWxNotIn(List<Integer> values) {
            addCriterion("is_wx not in", values, "isWx");
            return (Criteria) this;
        }

        public Criteria andIsWxBetween(Integer value1, Integer value2) {
            addCriterion("is_wx between", value1, value2, "isWx");
            return (Criteria) this;
        }

        public Criteria andIsWxNotBetween(Integer value1, Integer value2) {
            addCriterion("is_wx not between", value1, value2, "isWx");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andActivityScopeIsNull() {
            addCriterion("activity_scope is null");
            return (Criteria) this;
        }

        public Criteria andActivityScopeIsNotNull() {
            addCriterion("activity_scope is not null");
            return (Criteria) this;
        }

        public Criteria andActivityScopeEqualTo(String value) {
            addCriterion("activity_scope =", value, "activityScope");
            return (Criteria) this;
        }

        public Criteria andActivityScopeNotEqualTo(String value) {
            addCriterion("activity_scope <>", value, "activityScope");
            return (Criteria) this;
        }

        public Criteria andActivityScopeGreaterThan(String value) {
            addCriterion("activity_scope >", value, "activityScope");
            return (Criteria) this;
        }

        public Criteria andActivityScopeGreaterThanOrEqualTo(String value) {
            addCriterion("activity_scope >=", value, "activityScope");
            return (Criteria) this;
        }

        public Criteria andActivityScopeLessThan(String value) {
            addCriterion("activity_scope <", value, "activityScope");
            return (Criteria) this;
        }

        public Criteria andActivityScopeLessThanOrEqualTo(String value) {
            addCriterion("activity_scope <=", value, "activityScope");
            return (Criteria) this;
        }

        public Criteria andActivityScopeLike(String value) {
            addCriterion("activity_scope like", value, "activityScope");
            return (Criteria) this;
        }

        public Criteria andActivityScopeNotLike(String value) {
            addCriterion("activity_scope not like", value, "activityScope");
            return (Criteria) this;
        }

        public Criteria andActivityScopeIn(List<String> values) {
            addCriterion("activity_scope in", values, "activityScope");
            return (Criteria) this;
        }

        public Criteria andActivityScopeNotIn(List<String> values) {
            addCriterion("activity_scope not in", values, "activityScope");
            return (Criteria) this;
        }

        public Criteria andActivityScopeBetween(String value1, String value2) {
            addCriterion("activity_scope between", value1, value2, "activityScope");
            return (Criteria) this;
        }

        public Criteria andActivityScopeNotBetween(String value1, String value2) {
            addCriterion("activity_scope not between", value1, value2, "activityScope");
            return (Criteria) this;
        }

        public Criteria andStationIdsIsNull() {
            addCriterion("station_ids is null");
            return (Criteria) this;
        }

        public Criteria andStationIdsIsNotNull() {
            addCriterion("station_ids is not null");
            return (Criteria) this;
        }

        public Criteria andStationIdsEqualTo(String value) {
            addCriterion("station_ids =", value, "stationIds");
            return (Criteria) this;
        }

        public Criteria andStationIdsNotEqualTo(String value) {
            addCriterion("station_ids <>", value, "stationIds");
            return (Criteria) this;
        }

        public Criteria andStationIdsGreaterThan(String value) {
            addCriterion("station_ids >", value, "stationIds");
            return (Criteria) this;
        }

        public Criteria andStationIdsGreaterThanOrEqualTo(String value) {
            addCriterion("station_ids >=", value, "stationIds");
            return (Criteria) this;
        }

        public Criteria andStationIdsLessThan(String value) {
            addCriterion("station_ids <", value, "stationIds");
            return (Criteria) this;
        }

        public Criteria andStationIdsLessThanOrEqualTo(String value) {
            addCriterion("station_ids <=", value, "stationIds");
            return (Criteria) this;
        }

        public Criteria andStationIdsLike(String value) {
            addCriterion("station_ids like", value, "stationIds");
            return (Criteria) this;
        }

        public Criteria andStationIdsNotLike(String value) {
            addCriterion("station_ids not like", value, "stationIds");
            return (Criteria) this;
        }

        public Criteria andStationIdsIn(List<String> values) {
            addCriterion("station_ids in", values, "stationIds");
            return (Criteria) this;
        }

        public Criteria andStationIdsNotIn(List<String> values) {
            addCriterion("station_ids not in", values, "stationIds");
            return (Criteria) this;
        }

        public Criteria andStationIdsBetween(String value1, String value2) {
            addCriterion("station_ids between", value1, value2, "stationIds");
            return (Criteria) this;
        }

        public Criteria andStationIdsNotBetween(String value1, String value2) {
            addCriterion("station_ids not between", value1, value2, "stationIds");
            return (Criteria) this;
        }

        public Criteria andParticipateUserIsNull() {
            addCriterion("participate_user is null");
            return (Criteria) this;
        }

        public Criteria andParticipateUserIsNotNull() {
            addCriterion("participate_user is not null");
            return (Criteria) this;
        }

        public Criteria andParticipateUserEqualTo(String value) {
            addCriterion("participate_user =", value, "participateUser");
            return (Criteria) this;
        }

        public Criteria andParticipateUserNotEqualTo(String value) {
            addCriterion("participate_user <>", value, "participateUser");
            return (Criteria) this;
        }

        public Criteria andParticipateUserGreaterThan(String value) {
            addCriterion("participate_user >", value, "participateUser");
            return (Criteria) this;
        }

        public Criteria andParticipateUserGreaterThanOrEqualTo(String value) {
            addCriterion("participate_user >=", value, "participateUser");
            return (Criteria) this;
        }

        public Criteria andParticipateUserLessThan(String value) {
            addCriterion("participate_user <", value, "participateUser");
            return (Criteria) this;
        }

        public Criteria andParticipateUserLessThanOrEqualTo(String value) {
            addCriterion("participate_user <=", value, "participateUser");
            return (Criteria) this;
        }

        public Criteria andParticipateUserLike(String value) {
            addCriterion("participate_user like", value, "participateUser");
            return (Criteria) this;
        }

        public Criteria andParticipateUserNotLike(String value) {
            addCriterion("participate_user not like", value, "participateUser");
            return (Criteria) this;
        }

        public Criteria andParticipateUserIn(List<String> values) {
            addCriterion("participate_user in", values, "participateUser");
            return (Criteria) this;
        }

        public Criteria andParticipateUserNotIn(List<String> values) {
            addCriterion("participate_user not in", values, "participateUser");
            return (Criteria) this;
        }

        public Criteria andParticipateUserBetween(String value1, String value2) {
            addCriterion("participate_user between", value1, value2, "participateUser");
            return (Criteria) this;
        }

        public Criteria andParticipateUserNotBetween(String value1, String value2) {
            addCriterion("participate_user not between", value1, value2, "participateUser");
            return (Criteria) this;
        }

        public Criteria andActivityImgIsNull() {
            addCriterion("activity_img is null");
            return (Criteria) this;
        }

        public Criteria andActivityImgIsNotNull() {
            addCriterion("activity_img is not null");
            return (Criteria) this;
        }

        public Criteria andActivityImgEqualTo(String value) {
            addCriterion("activity_img =", value, "activityImg");
            return (Criteria) this;
        }

        public Criteria andActivityImgNotEqualTo(String value) {
            addCriterion("activity_img <>", value, "activityImg");
            return (Criteria) this;
        }

        public Criteria andActivityImgGreaterThan(String value) {
            addCriterion("activity_img >", value, "activityImg");
            return (Criteria) this;
        }

        public Criteria andActivityImgGreaterThanOrEqualTo(String value) {
            addCriterion("activity_img >=", value, "activityImg");
            return (Criteria) this;
        }

        public Criteria andActivityImgLessThan(String value) {
            addCriterion("activity_img <", value, "activityImg");
            return (Criteria) this;
        }

        public Criteria andActivityImgLessThanOrEqualTo(String value) {
            addCriterion("activity_img <=", value, "activityImg");
            return (Criteria) this;
        }

        public Criteria andActivityImgLike(String value) {
            addCriterion("activity_img like", value, "activityImg");
            return (Criteria) this;
        }

        public Criteria andActivityImgNotLike(String value) {
            addCriterion("activity_img not like", value, "activityImg");
            return (Criteria) this;
        }

        public Criteria andActivityImgIn(List<String> values) {
            addCriterion("activity_img in", values, "activityImg");
            return (Criteria) this;
        }

        public Criteria andActivityImgNotIn(List<String> values) {
            addCriterion("activity_img not in", values, "activityImg");
            return (Criteria) this;
        }

        public Criteria andActivityImgBetween(String value1, String value2) {
            addCriterion("activity_img between", value1, value2, "activityImg");
            return (Criteria) this;
        }

        public Criteria andActivityImgNotBetween(String value1, String value2) {
            addCriterion("activity_img not between", value1, value2, "activityImg");
            return (Criteria) this;
        }

        public Criteria andActivityIndexIsNull() {
            addCriterion("activity_index is null");
            return (Criteria) this;
        }

        public Criteria andActivityIndexIsNotNull() {
            addCriterion("activity_index is not null");
            return (Criteria) this;
        }

        public Criteria andActivityIndexEqualTo(String value) {
            addCriterion("activity_index =", value, "activityIndex");
            return (Criteria) this;
        }

        public Criteria andActivityIndexNotEqualTo(String value) {
            addCriterion("activity_index <>", value, "activityIndex");
            return (Criteria) this;
        }

        public Criteria andActivityIndexGreaterThan(String value) {
            addCriterion("activity_index >", value, "activityIndex");
            return (Criteria) this;
        }

        public Criteria andActivityIndexGreaterThanOrEqualTo(String value) {
            addCriterion("activity_index >=", value, "activityIndex");
            return (Criteria) this;
        }

        public Criteria andActivityIndexLessThan(String value) {
            addCriterion("activity_index <", value, "activityIndex");
            return (Criteria) this;
        }

        public Criteria andActivityIndexLessThanOrEqualTo(String value) {
            addCriterion("activity_index <=", value, "activityIndex");
            return (Criteria) this;
        }

        public Criteria andActivityIndexLike(String value) {
            addCriterion("activity_index like", value, "activityIndex");
            return (Criteria) this;
        }

        public Criteria andActivityIndexNotLike(String value) {
            addCriterion("activity_index not like", value, "activityIndex");
            return (Criteria) this;
        }

        public Criteria andActivityIndexIn(List<String> values) {
            addCriterion("activity_index in", values, "activityIndex");
            return (Criteria) this;
        }

        public Criteria andActivityIndexNotIn(List<String> values) {
            addCriterion("activity_index not in", values, "activityIndex");
            return (Criteria) this;
        }

        public Criteria andActivityIndexBetween(String value1, String value2) {
            addCriterion("activity_index between", value1, value2, "activityIndex");
            return (Criteria) this;
        }

        public Criteria andActivityIndexNotBetween(String value1, String value2) {
            addCriterion("activity_index not between", value1, value2, "activityIndex");
            return (Criteria) this;
        }

        public Criteria andActivityLinkIsNull() {
            addCriterion("activity_link is null");
            return (Criteria) this;
        }

        public Criteria andActivityLinkIsNotNull() {
            addCriterion("activity_link is not null");
            return (Criteria) this;
        }

        public Criteria andActivityLinkEqualTo(String value) {
            addCriterion("activity_link =", value, "activityLink");
            return (Criteria) this;
        }

        public Criteria andActivityLinkNotEqualTo(String value) {
            addCriterion("activity_link <>", value, "activityLink");
            return (Criteria) this;
        }

        public Criteria andActivityLinkGreaterThan(String value) {
            addCriterion("activity_link >", value, "activityLink");
            return (Criteria) this;
        }

        public Criteria andActivityLinkGreaterThanOrEqualTo(String value) {
            addCriterion("activity_link >=", value, "activityLink");
            return (Criteria) this;
        }

        public Criteria andActivityLinkLessThan(String value) {
            addCriterion("activity_link <", value, "activityLink");
            return (Criteria) this;
        }

        public Criteria andActivityLinkLessThanOrEqualTo(String value) {
            addCriterion("activity_link <=", value, "activityLink");
            return (Criteria) this;
        }

        public Criteria andActivityLinkLike(String value) {
            addCriterion("activity_link like", value, "activityLink");
            return (Criteria) this;
        }

        public Criteria andActivityLinkNotLike(String value) {
            addCriterion("activity_link not like", value, "activityLink");
            return (Criteria) this;
        }

        public Criteria andActivityLinkIn(List<String> values) {
            addCriterion("activity_link in", values, "activityLink");
            return (Criteria) this;
        }

        public Criteria andActivityLinkNotIn(List<String> values) {
            addCriterion("activity_link not in", values, "activityLink");
            return (Criteria) this;
        }

        public Criteria andActivityLinkBetween(String value1, String value2) {
            addCriterion("activity_link between", value1, value2, "activityLink");
            return (Criteria) this;
        }

        public Criteria andActivityLinkNotBetween(String value1, String value2) {
            addCriterion("activity_link not between", value1, value2, "activityLink");
            return (Criteria) this;
        }

        public Criteria andContentIsNull() {
            addCriterion("content is null");
            return (Criteria) this;
        }

        public Criteria andContentIsNotNull() {
            addCriterion("content is not null");
            return (Criteria) this;
        }

        public Criteria andContentEqualTo(String value) {
            addCriterion("content =", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotEqualTo(String value) {
            addCriterion("content <>", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThan(String value) {
            addCriterion("content >", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("content >=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThan(String value) {
            addCriterion("content <", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThanOrEqualTo(String value) {
            addCriterion("content <=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLike(String value) {
            addCriterion("content like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotLike(String value) {
            addCriterion("content not like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentIn(List<String> values) {
            addCriterion("content in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotIn(List<String> values) {
            addCriterion("content not in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentBetween(String value1, String value2) {
            addCriterion("content between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotBetween(String value1, String value2) {
            addCriterion("content not between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andSumConditionIsNull() {
            addCriterion("sum_condition is null");
            return (Criteria) this;
        }

        public Criteria andSumConditionIsNotNull() {
            addCriterion("sum_condition is not null");
            return (Criteria) this;
        }

        public Criteria andSumConditionEqualTo(String value) {
            addCriterion("sum_condition =", value, "sumCondition");
            return (Criteria) this;
        }

        public Criteria andSumConditionNotEqualTo(String value) {
            addCriterion("sum_condition <>", value, "sumCondition");
            return (Criteria) this;
        }

        public Criteria andSumConditionGreaterThan(String value) {
            addCriterion("sum_condition >", value, "sumCondition");
            return (Criteria) this;
        }

        public Criteria andSumConditionGreaterThanOrEqualTo(String value) {
            addCriterion("sum_condition >=", value, "sumCondition");
            return (Criteria) this;
        }

        public Criteria andSumConditionLessThan(String value) {
            addCriterion("sum_condition <", value, "sumCondition");
            return (Criteria) this;
        }

        public Criteria andSumConditionLessThanOrEqualTo(String value) {
            addCriterion("sum_condition <=", value, "sumCondition");
            return (Criteria) this;
        }

        public Criteria andSumConditionLike(String value) {
            addCriterion("sum_condition like", value, "sumCondition");
            return (Criteria) this;
        }

        public Criteria andSumConditionNotLike(String value) {
            addCriterion("sum_condition not like", value, "sumCondition");
            return (Criteria) this;
        }

        public Criteria andSumConditionIn(List<String> values) {
            addCriterion("sum_condition in", values, "sumCondition");
            return (Criteria) this;
        }

        public Criteria andSumConditionNotIn(List<String> values) {
            addCriterion("sum_condition not in", values, "sumCondition");
            return (Criteria) this;
        }

        public Criteria andSumConditionBetween(String value1, String value2) {
            addCriterion("sum_condition between", value1, value2, "sumCondition");
            return (Criteria) this;
        }

        public Criteria andSumConditionNotBetween(String value1, String value2) {
            addCriterion("sum_condition not between", value1, value2, "sumCondition");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}